package com.zbkj.common.model.agent;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 品牌商代理设置表
 * </p>
 *
 * @author dazongzi
 * @since 2025-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_brand_agent_region")
@ApiModel(value="BrandAgentRegion对象", description="品牌商代理设置区域表")
public class BrandAgentRegion implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "地区ID")
    private String regionId;

    @ApiModelProperty(value = "地区类型（1:省，2：市，3：区/县，4：乡/镇/街道，5：社区/村，6：小区）")
    private Integer regionType;

    @ApiModelProperty(value = "地区名称")
    private String regionName;

    @ApiModelProperty(value = "是否删除 状态（0：否，1：是）")
    private Integer isDel;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "品牌商ID（对应SystemAdmin表ID）")
    private Integer brandId;

    @ApiModelProperty(value = "品牌商代理设置ID(brand_agent)")
    private Integer brandAgentId;

    @ApiModelProperty(value = "上级所在省(上级城市，省，市，区，街道)")
    private String province;

    @ApiModelProperty(value = "上级省份ID")
    private String provinceId;

    @ApiModelProperty(value = "上级所在市")
    private String city;

    @ApiModelProperty(value = "上级城市id")
    private String cityId;

    @ApiModelProperty(value = "上级所在区/县")
    private String district;

    @ApiModelProperty(value = "上级区/县id")
    private String districtId;

    @ApiModelProperty(value = "上级所在街道")
    private String street;

    @ApiModelProperty(value = "上级所在街道id")
    private String streetId;

    @ApiModelProperty(value = "所在小区")
    private String community;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "详细地址")
    private String detailAddress;

    @ApiModelProperty(value = "所在社区/村")
    private String tribe;

}
